using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
namespace WindowsGame4
{
    public class Item : GameObject
    {
        public override void React(GameObject obj, Vector2 cp)
        {
            if (obj is Player)
                OnPickup((Player)obj);
        }
        public virtual void OnPickup(Player player)
        {
            bDead = true;
        }
    }
}
